/**
 * 
 */
package com.orange.modules.entity.expert;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;

/**
 * 专门任务 ：包括 专业技能和其他测试任务    还有课堂观摩（手动插入数据库）
 * 
 * @author gaogs
 *
 * 2016-11-17
 */
@Table(name="t_auth_special_task")
@Entity
public class AuthSpecialTask {

	private String pid ;//
	private String name ;//技能名称
	private String type ;//技能类型  0：必测专业技能  1：选测专业技能  2：其他任务   
	private String remark;//0:无学科  1：有学科
	private String wordName ;//专业技能 测试用表名称
	private String wordUrl ;// 专业技能测试用表 路径
	private String createTime ;//
	
	private String flag ;//0:未选择   1：已选择
	private String major;//专业  0:学前教育  1:小学教育 2:中学教育
	
	private String state;//抽题判断 1:未抽题  2:已抽题
	
	@Id
	@GeneratedValue(strategy=GenerationType.AUTO)
	@Column(name = "p_id")
	public String getPid() {
		return pid;
	}
	@Column(name = "s_name",length=255)
	public String getName() {
		return name;
	}
	@Column(name = "s_type",length=1)
	public String getType() {
		return type;
	}
	@Column(name = "s_remark",length=1)
	public String getRemark() {
		return remark;
	}
	@Column(name = "s_word_name",length=1024)
	public String getWordName() {
		return wordName;
	}
	@Column(name = "s_word_url",length=1024)
	public String getWordUrl() {
		return wordUrl;
	}
	@Column(name = "s_create_time",length=20)
	public String getCreateTime() {
		return createTime;
	}
	public void setPid(String pid) {
		this.pid = pid;
	}
	public void setName(String name) {
		this.name = name;
	}
	public void setType(String type) {
		this.type = type;
	}
	public void setWordName(String wordName) {
		this.wordName = wordName;
	}
	public void setWordUrl(String wordUrl) {
		this.wordUrl = wordUrl;
	}
	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}
	/**
	 * @return the flag
	 */
	@Transient
	public String getFlag() {
		return flag;
	}
	/**
	 * @param flag the flag to set
	 */
	public void setFlag(String flag) {
		this.flag = flag;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}
	@Column(name = "s_major",length=1)
	public String getMajor() {
		return major;
	}
	public void setMajor(String major) {
		this.major = major;
	}
	@Column(name = "s_state")
	public String getState() {
		return state;
	}
	public void setState(String state) {
		this.state = state;
	}
	
	
}
